#ifndef BOUNDED_STRING_H
#define BOUNDED_STRING_H

typedef int (*compare_function) (const char *, const char *, size_t);

typedef struct {
	char *string;
	size_t len;
} BOUNDED_STRING;

int search_string (const BOUNDED_STRING *strings, size_t nstrings, compare_function compare, const char *string, size_t len);

#endif /* BOUNDED_STRING_H */
